// 本地存储
const localStorage = {
  //获取
  get(key) {
     const result = wx.getStorageSync(key);
     return result;
  },
  //存储
  set(key,value) {
     wx.setStorageSync(key, value);
  },
  //移除
  remove(key) {
     wx.removeStorageSync(key);
  },
  //清除
  clear() {
    wx.clearStorageSync();
  }
}
//导出数据
export default localStorage;